//
//  NSCoderObject.m
//  easyTaxi
//
//  Created by ellenpage on 12-11-29.
//  Copyright (c) 2012年 ellenpage. All rights reserved.
//

#import "NSCoderObject.h"

@interface NSCoderObject ()<NSCoding>

@end

@implementation NSCoderObject

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:_mydict  forKey:@"dict"];
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init])
    {
        _mydict  = [aDecoder decodeObjectForKey:@"dict"];
    }
    return self;
}

@end
